﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace HZ.Supervise.BLL
{
    public class BLL_WarningData : IBLL.IBLL_WarningData
    {
        public DataTable GetInvoiceNoPay(HZ.Supervise.Model.Query.mQuery where,int WarningDate, int currentpage, int pagesize, out int totalrecord)
        {
            return DAL.DAL_WarningData.GetInvoiceNoPay(where, WarningDate, currentpage, pagesize, out totalrecord);
        }

        public DataTable GetComNoConfimInvoicePay(HZ.Supervise.Model.Query.mQuery where, int WarningDate, int currentpage, int pagesize, out int totalrecord)
        {
            return DAL.DAL_WarningData.GetComNoConfimInvoicePay(where, WarningDate, currentpage, pagesize, out totalrecord);
        }

        public DataTable GetComNoConfimReturnOrder(HZ.Supervise.Model.Query.mQuery where, int WarningDate, int currentpage, int pagesize, out int totalrecord)
        {
            return DAL.DAL_WarningData.GetComNoConfimReturnOrder(where, WarningDate, currentpage, pagesize, out totalrecord);
        }

        public DataTable GetInvoiceNoCheck(HZ.Supervise.Model.Query.mQuery where, int WarningDate, int currentpage, int pagesize, out int totalrecord)
        {
            return DAL.DAL_WarningData.GetInvoiceNoCheck(where, WarningDate, currentpage, pagesize, out totalrecord);
        }

        public DataTable GetHospitalNoStock(HZ.Supervise.Model.Query.mQuery where, int WarningDate, int currentpage, int pagesize, out int totalrecord)
        {
            return DAL.DAL_WarningData.GetHospitalNoStock(where, WarningDate, currentpage, pagesize, out totalrecord);
        }

        public DataTable GetOrderNoConfim(HZ.Supervise.Model.Query.mQuery where, int WarningDate, int currentpage, int pagesize, out int totalrecord)
        {
            return DAL.DAL_WarningData.GetOrderNoConfim(where, WarningDate, currentpage, pagesize, out totalrecord);
        }

        public DataTable GetOrderOverWarning(HZ.Supervise.Model.Query.mQuery where, int WarningDate, int WarningCount, decimal WarningAmount, int currentpage, int pagesize, out int totalrecord)
        {
            return DAL.DAL_WarningData.GetOrderOverWarning(where, WarningDate,WarningCount,WarningAmount, currentpage, pagesize, out totalrecord);
        }
    }
}
